/* Debug macros.
 *
 * $Id: debug.h,v 1.1.1.1 2003/01/14 00:30:55 root Exp $
 *
 * $LoG$
 */

#ifndef _DEBUG_H_
#define _DEBUG_H_

#include "trace.h"

#define PDB(format, args...) WRN("(%d) " format, SOCK , ## args)

#define DB(format, args...)  TRC(format , ## args)
#define FDB(format, args...) TRC("(%d) " format, SOCK , ## args)

#define DB_WRN(format, args...)  WRN(format , ## args)
#define FDB_WRN(format, args...) WRN("(%d) " format, SOCK , ##args)

#define DB_ERR(format, args...)  ERR(format , ## args)
#define FDB_ERR(format, args...) ERR("(%d) " format, SOCK , ##args) 

#endif
/* end of $RCSFile$ */
